/*******************************************************************
 * 外语翻译平台(translate) 
 *
 * 成都一亿信息技术公司 版权所有
 * 
 * Copyright (C) 2010 Transer Information Technology Co., Ltd.
 *
 * @Version : 1.0  2010-12-25 上午12:05:39
 *
 * Constants.java 
 *
 *******************************************************************/
package com.transer.constant;

/**
 * 
 * class defination are there
 * 
 * @author mark
 * 
 * @version 1.0 ywengineer@gmail.com
 * 
 */
public class Constants {
	/** 工作接受方 */
	public static final int USER_TYPE_TRANSER = 1;
	/** 工作接受方 */
	public static final int USER_TYPE_TRANSLATE_COMPANY = 2;
	/** 工作发起方 */
	public static final int USER_TYPE_PUBLISHER = 3;
	/** 用户状态(激活) */
	public static final boolean USER_STATUS_ACTIVE = true;

	/** 验证码 */
	public static final String SESSION_AUTH_CODE = "SESSION_AUTH_CODE";
	/** 用户 */
	public static final String SESSION_USER = "SESSION_USER";
	/** 译员搜索结果页数据大小 */
	public static final int TRANSER_PAGE_SIZE = 10;
	/** 项目搜索结果页数据大小 */
	public static final int PROJECT_PAGE_SIZE = 20;

	/** 竞标进行中 */
	public static final int PROJECT_STATUS_START = 1;
	/** 竞标结束 */
	public static final int PROJECT_STATUS_END = 2;
	/** 工作进行中 */
	public static final int PROJECT_STATUS_WORKING = 3;
	/** 完成 */
	public static final int PROJECT_STATUS_FINISH = 4;
	/** 消息状态(已读) */
	public static final boolean MSG_STATUS_READ = true;
	/** 消息状态(未读) */
	public static final boolean MSG_STATUS_NOT_READ = false;
	
}
